1
general::
Also, at the top of one's voice. With an extremely loud voice. For example, The babies in the nursery all were crying at the top of their lungs. The noun top here refers to the greatest degree of volume (that is, loudest) rather than high pitch, a usage dating from the mid-1500s.
American Heritage Idioms